// 锻炼相关
const express = require('express');
const router = express.Router();
const bcrypt = require('bcryptjs');
const jwt = require('jsonwebtoken');
const keys = require('../../config/keys');
const passport = require('passport');
const gym_api = require('../../controller/gym_api');

// @route  Post api/gyms/UserGoGym
// @desc   User gym
// @access Private
router.post('/UserGoGym', passport.authenticate('jwt', { session: false }),gym_api.UserGoGym);
  


module.exports = router;